//
//  AMButton.h
//  sociallanguage
//
//  Created by Fox Guo on 14-10-24.
//  Copyright (c) 2014年 Contra. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface HOButton : UIButton
{
    UILabel         *customTitleLbl;
    UIImageView     *leftImgView;
    UIImageView     *rightImgView;
    UIImageView     *topImgView;
}

@property(nonatomic, strong)id data;
@property(nonatomic, strong)id data2;
@property(nonatomic, assign)BOOL isSelected;
@property(nonatomic, retain)  UIImage     *leftImg;;
- (void)setButtonTitle:(NSString *)title;
- (void)setButtonTitleColor:(UIColor *)color;
- (void)setButtonTitleFont:(UIFont *)font;

- (void)setLeftImage:(UIImage *)img;
- (void)setRightImage:(UIImage *)img    withTitle:(NSString *)title;
- (void)setTopImage:(UIImage *)img;


- (void)setStyleWithTitle:(NSString *)title
               titleColor:(UIColor *)titleColor
                titleFont:(UIFont *)font
                 norBgColor:(UIColor *)norBgColor
                 selBgColor:(UIColor *)selBgColor
            highlighBgColor:(UIColor *)highlightBgColor
                 selector:(SEL)selector
                   target:(id)target;

- (void)setRightImage:(UIImage *)img
            withTitle:(NSString *)title
        withTextColor:(UIColor *)textColor
withTextHighlightColor:(UIColor *)highlightColor
             selector:(SEL)selector
               target:(id)target;
@end
